Revert unintentional change in Garmin that I introduced this morning.
authorrobertl <robertl>
Sat, 18 Aug 2007 20:40:37 +0000 (20:40 +0000)
committerrobertl <robertl>
Sat, 18 Aug 2007 20:40:37 +0000 (20:40 +0000)
garmin.c

index 74273bb9c78effe85674ca0481151dfcdec9c511..b4da87856c9956be30889d3ef3bbf7f240972ecb 100644 (file)
--- a/garmin.c
+++ b/garmin.c
@@ -732,10 +732,9 @@ waypoint_write(void)
 
                if (global_opts.smart_names && 
                     wpt->gc_data.diff && wpt->gc_data.terr) {
-                       snprintf(obuf, sizeof(obuf), "%s%d/%d %s %s", 
+                       snprintf(obuf, sizeof(obuf), "%s%d/%d %s", 
                                        get_gc_info(wpt),
                                        wpt->gc_data.diff, wpt->gc_data.terr, 
-&wpt->shortname[2],
                                        src);
                        memcpy(way[i]->cmnt, obuf, strlen(obuf));
                } else  {